package com.kygl.teacher.vo;

import com.kygl.salary.vo.Salary;

public class TeacherAllInfo {
	private Teacher teacher;
	private Dept dept;
	private Salary salary;
	public TeacherAllInfo(Teacher teacher,Salary salary){
		this.teacher = teacher;
		this.salary = salary;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public Salary getSalary() {
		return salary;
	}
	public void setSalary(Salary salary) {
		this.salary = salary;
	}
	public Dept getDept() {
		return dept;
	}
	public void setDept(Dept dept) {
		this.dept = dept;
	}
}
